﻿using B.S.BasicData.Api.Read.Dtos;
using B.S.BasicData.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.BasicData.Api.Read.Applications.Commands.Accounts
{   /// <summary>
    /// 查询参数
    /// </summary>
    public class GetUserQueryCommand:IRequest<ApiResult<ApiPaging<ShowDto>>>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string? NickName { get; set; }

        /// <summary>
        /// 角色id
        /// </summary>
        public int? RoleId { get; set; }


        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex {  get; set; }


        /// <summary>
        /// 每页几行
        /// </summary>
        public int PageSize {  get; set; }


        /// <summary>
        /// 部门id
        /// </summary>
        public int DpetId { get; set; }

    }
}
